package com.ruoyi.customerSample.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 检测检验委托单据对象 entrusted_bills
 * 
 * @author ruoyi
 * @date 2023-10-23
 */
@ApiModel("检测检验委托单据")
public class EntrustedBills extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 委托单号 */
    @Excel(name = "委托单号")
    @ApiModelProperty(value = "委托单号")
    private String entrustNum;

    /** 委托年份 */
    @ApiModelProperty(value = "委托年份")
    private String testYear;

    /** 序号 */
    @Excel(name = "序号")
    @ApiModelProperty(value = "序号")
    private String sorts;

    /** 委托单位 */
    @Excel(name = "委托单位")
    @ApiModelProperty(value = "委托单位")
    private String client;

    /** 委托单位地址 */
    @Excel(name = "委托单位地址")
    @ApiModelProperty(value = "委托单位地址")
    private String adress;

    /** 公司负责人 */
    @Excel(name = "公司负责人")
    @ApiModelProperty(value = "公司负责人")
    private String charger;

    /** 公司负责人电话 */
    @Excel(name = "公司负责人电话")
    @ApiModelProperty(value = "公司负责人电话")
    private String chargerPhone;

    /** 委托检验检测类别 */
    @Excel(name = "委托检验检测类别")
    @ApiModelProperty(value = "委托检验检测类别")
    private String testType;

    /** 委托项目 */
    @Excel(name = "委托项目")
    @ApiModelProperty(value = "委托项目")
    private String testItem;

    /** 委托要求 */
    @Excel(name = "委托要求")
    @ApiModelProperty(value = "委托要求")
    private String requires;

    /** 受理方名称 */
    @Excel(name = "受理方名称")
    @ApiModelProperty(value = "受理方名称")
    private String entrusteder;

    /** 受理日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "受理日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "受理日期")
    private Date entrustedTime;

    /** 委托人名称 */
    @Excel(name = "委托人名称")
    @ApiModelProperty(value = "委托人名称")
    private String clienter;

    /** 委托日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "委托日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "委托日期")
    private Date clientTime;

    /** 附件信息 */
    @Excel(name = "附件信息")
    @ApiModelProperty(value = "附件信息")
    private String imgs;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setEntrustNum(String entrustNum) 
    {
        this.entrustNum = entrustNum;
    }

    public String getEntrustNum() 
    {
        return entrustNum;
    }
    public void setSorts(String sorts) 
    {
        this.sorts = sorts;
    }

    public String getSorts() 
    {
        return sorts;
    }
    public void setClient(String client) 
    {
        this.client = client;
    }

    public String getClient() 
    {
        return client;
    }
    public void setAdress(String adress) 
    {
        this.adress = adress;
    }

    public String getAdress() 
    {
        return adress;
    }
    public void setCharger(String charger) 
    {
        this.charger = charger;
    }

    public String getCharger() 
    {
        return charger;
    }
    public void setChargerPhone(String chargerPhone) 
    {
        this.chargerPhone = chargerPhone;
    }

    public String getChargerPhone() 
    {
        return chargerPhone;
    }
    public void setTestType(String testType) 
    {
        this.testType = testType;
    }

    public String getTestType() 
    {
        return testType;
    }
    public void setTestItem(String testItem) 
    {
        this.testItem = testItem;
    }

    public String getTestItem() 
    {
        return testItem;
    }
    public void setRequires(String requires) 
    {
        this.requires = requires;
    }

    public String getRequires() 
    {
        return requires;
    }
    public void setEntrusteder(String entrusteder) 
    {
        this.entrusteder = entrusteder;
    }

    public String getEntrusteder() 
    {
        return entrusteder;
    }
    public void setEntrustedTime(Date entrustedTime) 
    {
        this.entrustedTime = entrustedTime;
    }

    public Date getEntrustedTime() 
    {
        return entrustedTime;
    }
    public void setClienter(String clienter) 
    {
        this.clienter = clienter;
    }

    public String getClienter() 
    {
        return clienter;
    }
    public void setClientTime(Date clientTime) 
    {
        this.clientTime = clientTime;
    }

    public Date getClientTime() 
    {
        return clientTime;
    }
    public void setImgs(String imgs) 
    {
        this.imgs = imgs;
    }

    public String getImgs() 
    {
        return imgs;
    }

    public String getTestYear() {
        return testYear;
    }

    public void setTestYear(String testYear) {
        this.testYear = testYear;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("entrustNum", getEntrustNum())
            .append("sorts", getSorts())
            .append("client", getClient())
            .append("adress", getAdress())
            .append("charger", getCharger())
            .append("chargerPhone", getChargerPhone())
            .append("testType", getTestType())
            .append("testItem", getTestItem())
            .append("requires", getRequires())
            .append("entrusteder", getEntrusteder())
            .append("entrustedTime", getEntrustedTime())
            .append("clienter", getClienter())
            .append("clientTime", getClientTime())
            .append("imgs", getImgs())
            .toString();
    }
}
